package com.lws.bugly;

import android.content.Context;

import com.tencent.bugly.beta.Beta;
import com.tencent.bugly.crashreport.CrashReport;


/**
 * bugly初始化用到的类
 */

public class Bugly {
    /**
     * @param context 初始化
     */
    public static void init(Context context) {
        com.tencent.bugly.Bugly.init(context, "5fad4b9a75", true);
        //CrashReport.initCrashReport(context,"5fad4b9a75", true);
    }

    /**
     * 检查更新
     */
    public static void checkUpgrade() {
        Beta.checkUpgrade();
    }
}
